Added safeApply service tests
Added CreadentialValidator service tests