Java Problem How to prepare a test case with file input?