fixed what I've messed up with "moment" in English :(
Merge pull request #730 from leider/hotfix

fixed what I've messed up with "moment" in English :(
Inline local variable.
Extracted app creation so that it is only done once for each required app.
Changed the last "un-exceptioned" function of the testpersistence to throw an exception. Added a stub for persistence where it was required.
Merge pull request #732 from NicoleRauch/master

Small cleanup
Merge commit 'dcbdf86a65f4f812c7932622e35ce669ae1e9160'