test: [agent] add common agent tests that run for both mock and live