Change if statements to case statement for find_by_name method.
Test2 passes again...