Tidy up close() test