add unittest to service, rename it