Task Description: Implement a Simple Calculator Functionality
You are required to implement a simple calculator that can perform basic arithmetic operations: addition, subtraction, multiplication, and division. The calculator should support the following functionalities:
Function Signature: Implement a function named calculate in the file /app/calculator.py with the following signature:
operation (str): A string that can be one of the following values: "add" for addition, "subtract" for subtraction, "multiply" for multiplication, and "divide" for division.
num1 (float): The first number involved in the calculation.
num2 (float): The second number involved in the calculation.
Return Value: The function should return the result of the specified operation as a float.
Operation Logic:
If operation is "add", return the sum of num1 and num2.
If operation is "subtract", return the result of num1 minus num2.
If operation is "multiply", return the product of num1 and num2.
If operation is "divide", return the result of num1 divided by num2. If num2 is zero, raise a ValueError with the message "Cannot divide by zero".
Error Handling: The function should handle invalid operations by raising a ValueError with the message "Invalid operation".
Test Cases: The implementation should ensure that all provided test cases in the test suite pass successfully.
Please implement the functionality as described and ensure the behavior matches the expected outcomes outlined in the test cases.