created test class from validinput