added more tests + optional insertion sort