clean code  bugscontrollertests