Added negate test
added negate function