Fix tests broken by @8cac833

For some reason I did not notice these tests were broken in autotest.