Refactored test configuration to include riemann server start detection