updating test functions
running tests on both selection sort and insertion sort