Added test for mean