fix(RecordWork): expose functions used purely for testing as part of a testFunction object.
fix(RecordWork): instead of returning the mutated callback from RecordWork.startWork(), return the object itself