Add list tests and remove unnecessary void