Fixing avg() test that was failing when it shouldn't
Added test to verify proper handling of unicode values