make tests closeable