Repository tests, WIP