Pridane unit testy na manipulaciu s conditions, pofixovene chyby v controlleri