JUnit tests of freedomapp