Adding advanced test for negative numbers