Upgrade from angular 1 to angular 2

Anybody knows how to test an upgraded from angular 1. * to angular 5 services?

App working well but tests dropping error - NullInjectorError: No provider for $injector!