added tests for input class