params needs to emit the correct error, and the tests need to pick it up.