Ensure that raise_on_unexpected_params configuration will work