Refactored webconnection test to use app_info.listen()