Adding apier.GetRatingPlans and various local tests