Added a JUnit Test for InputRecord