fix compilation of agent test modules