Add missing unit tests for several services