test for operator setLenient()