Added conditional test data and mocks loading to controllertest.html