fix tests to match improved epic sort