Farm out JS sorting tests to a test generator module; Add mergesort tests