#7. Added tests for sorting algorithms and array merging