test for class UserInput