fix packaged-app tests