Added jUnit tests for test input