Fixed failing test in 01-driver.t by moving it up
Re-put the mock libraries with the driver code, since it can be used elsewhere apart from S::R::D
Added recording support