test service inheritance