Insertion AND Selection work on Andy's test case without valgrind issues