fixed couple compilation problems with df-hf test code by @calewis