add domain repository tests