Added test code coverage for list and refactored list_remove() method.