unit test on the boostraper and the resolution of the main service