mock loader for unit tests given the ability to declare routes