SONARDOTNT-325 Fix the unit test