Tests: Wait until application is fully started
Added tests for Travis CI