Added a couple assertions to the invalid input test.