Test program fleshed out and made some minor fixes to the list code.