added tests for selection and insertion sorts