refactored test and added h InsertionSort