Added logical not test