created BaseRestSpec for other rest tests