tests: add record_comm_exec test