Added tests for negative numbers