Add parser test case for valid inputs.

The test case is very simple; it will run the parser on each *.java
file in src/test/resources/valid and fail if the parsing failed.