fix the annoying segfault-bug of the unit-tests