fixed test and default behaviour for entryRepo