added in more tests and change the negative condition to a positve one