cleaned up test module

-updated usage in sort_array