removed unused code in App.java
added several tests and implemented some code
removed retaining test-rows from db which occur during tests