Package leak detector with bubble test