Update package scripts.test to force exit after finish