Implement a simple inventory management system in Python that meets the following requirements. Your implementation should be written in a file called /app/solution.py.
Functionality to Implement:
Create a class Inventory that manages a collection of items.
Each item in the inventory should have a name (string) and a quantity (integer).
The Inventory class should have the following methods:
add_item(name: str, quantity: int): Adds the specified quantity of the item to the inventory. If an item with the same name already exists, its quantity should be updated by adding the new quantity.
remove_item(name: str, quantity: int): Removes the specified quantity of the item from the inventory. If the quantity to remove exceeds the available quantity, it should remove all the available quantity. If the item does not exist, this method should do nothing.
get_item_quantity(name: str) -> int: Returns the quantity of the specified item. If the item does not exist, it should return 0.
list_items() -> List[Tuple[str, int]]: Returns a list of tuples, where each tuple contains the name of an item and its quantity in the format (name, quantity).
Specific Requirements:
Ensure that all methods are tested by the given test code.
Handle edge cases, such as adding negative quantities (which should not be allowed) and removing more than the available quantity.
The Inventory class should properly initialize with an empty inventory.
Include appropriate exception handling where relevant, such as for invalid inputs.
Use Python 3.x syntax.
Make sure to follow Python's naming conventions and write clear, readable code. Each method should be documented with docstrings explaining its purpose and parameters.