[service] fixed unit tests