adding a unit test and a critial issue to se if sonar is working