refactor remove invalid tests