create a service and subservice models and tests