mended the tests