rewrite character unit tests to use repo fxns