Added ms sort tests