fix for test added in #266