Fixed the invalid tests.