fixed inappropriate test for services instead of gatewayServices and added provisioning of credstore