fixed unit tests, broken in #59

I can't run those tests on my machine, therefore hold on until travis tells us everything is ok ;-)