Added more tests to reflect the refactoring of the main app. Can't test mats properly because OpenCV won't run properly with JUnit, don't know why. Means I can'lt test the biggest part of the app.