Dao test fixing

The tests

- findByCriteria_canHandleComplexCriteria
- findByCriteria_canHandleManyCriterias

failed in some cases (but not always). The problem was that sometimes two applications that were consecutively created with getRandomSavedMockApp() had the same modified-values which is not always expected by the following assertions.

Fixed this by waiting 1 ms between the creation of the Application-mocks.