[test][src] Adding in functionality to list so that it can be reversed in linear time, added corresponding test