Implement a class called BankAccount that simulates basic banking operations. The functionality must include the following:
Attributes:
A balance attribute initialized to 0.
A account_holder attribute that accepts a string when creating the account.
Methods:
deposit(amount: float):
Accepts a positive float value as an argument.
Increases the balance by the deposit amount.
withdraw(amount: float):
Accepts a positive float value as an argument.
Reduces the balance by the withdraw amount only if sufficient funds are available.
If the funds are insufficient, the method raises a ValueError with the message "Insufficient funds".
get_balance() -> float:
Returns the current balance as a float.
String Representation:
Implement a __str__() method that returns a string in the format:
"Account Holder: [account_holder], Balance: [balance]", where [account_holder] is the name of the account holder and [balance] is the current balance formatted to two decimal places.
Directory Structure:
Place the implementation of the BankAccount class in the /app/ directory.
The implementation should satisfy the test cases provided in the existing test suite. Ensure that appropriate error handling is done for the withdrawal method and the functionality is thoroughly tested.