fix tests from #280.