Transaction repo and entries classes and tests