added route tests for repositories