I added simple-array tests to test.js for mean, median and standard_deviation. node test.js prints "all tests passed".
The even-length median test and the empty-array TypeError checks for all three functions were already in the file, so I left them as they were. The new assertions are:
mean([1, 2, 3])equals 2.median([1, 2, 3])equals 2.standard_deviation([1, 2, 3])equalsMath.sqrt(2 / 3).
The existing tests for add, multiply and power are untouched. The standard deviation assertion uses exact equality, which passes here but could be brittle if the computation changes.