fixed broken test after #269