Tests for audit runner

Includes unit and functional tests

\cc @mcquin @sersut 
:+1: on this comment