Only mock app creation in CLI specs

This should resolve the CLI spec TMPDIR issues on TravisCI introduced in #9.