Wrote tests for audit
Finished audit core fns