JUnit tests for classes of the flanagan library