Update TestInvalidInput.java

Small bug fixed