Implement Insertion Sort and refactor sorting test