add tests for negative numbers