added tests for list methods