fix error in test introduced in 43581e2