added tests for listItems