Add test to cover all types of angular service creation