Fix test cases for close?