Load apps in test situations
Fix mkdir error in mountconfig.php
Fix contructor in test
Merge pull request #9698 from owncloud/fix-9666

Load apps in tests, fixes #9666