added list tests and fixes for case failures