Fix unit tests

[![Build Status](http://dothiv.a4a.de:8080/job/coderbyheart-jenkins/badge/icon)](http://dothiv.a4a.de:8080/job/coderbyheart-jenkins/)