0.6 backwards compat for tests. fixes travis build