Redis list operations with tests