Added more functionality to inputTest