Small fixes to make tests more portable
TestCases only use public interface
Move default setup into Repo