Added some Tests
Added test for invalid values