Implemented tests for list.jl