Angular Component Testing, The provideRouter function can be used directly in the test module as well.