Added scripted tests for --run-listener