Fixing tests for running single apps. Issue #143.