updated spec for list method