Make sure to handle invalid shapes by raising a ValueError with the message "Invalid shape provided."
Once implemented, the calculate_area function should pass the provided unit tests that check for correct area calculations for each shape and the handling of invalid shape inputs.