test case for negative numbers
Custom constructor