Allow package to be specified for test mode