little bugfix for tests