We shouldn't need to test the types of inputs here - simple-statistics does not make special considerations to make Javascript any more strongly-typed than it is by default