fix some tests compiling