modifies test for negative case checking