fix tests
legacy test should pass on a modern system