Correct error in test. Didn't close properly.