fix(tests): replace quit by close