Renamed emptyTest
Fixed infinite loop case