Passed test for throwing negative number exception