Created test case for custom list with all methods.