moved hasAnother test