simplify before_script for test-agent