Update test to match correct scalar encoder behavior.