Corrected invalid tests