TestAppCKAN
factor out common preparation code from RemoteCKAN and TestAppCKAN