Fixing CLI integration test

- Uses ApplicationBuilder
- Reports original exception for timeouts