Fixed tests for `apps`

The test of the apps module are now working. Related: #138