fixes #2906 - test are broken on 1.8