Fixing the tests for invalid input and adding some (passing) positive test cases