added test and service base