move Mockery::close() into tearDown()