mock services tests