added basic list methods with unit tests