added test case for negate