create test inputs and JUnit test