new function to test input, updated test suit