Fix coercion for the input test