adding tests that interact with the repl to ensure presence of app and custom context

- adding useColors option in order to test output easier
- adding t.end which closes server in order to allow multiple tests per file