Fix test with invalid value type.