tiny unittest fix

the unitests did not run without an error. The code was OK, but the tests was not ;)