Close methods and tests for them