Fixed tests; fulfill need for arbitrary repository in base controller mapping using DI