You need to implement the From<&str> trait for the Person struct in the Rust programming language. The objective is to enable creating a Person object from a string formatted as "name,age".
Requirements:
If the input string is empty, return the default Person, which has the name "John" and age 30.
Split the input string at the comma (,) to extract the name and age parts.
The first part from the split should be used as the name. If this name is empty, return the default Person.
The second part should be used for the age. If this part is missing or cannot be parsed to a usize (for example, if it contains non-numeric characters), return the default Person.
Ensure if there are any extra components after the age part (e.g., trailing commas), the function returns the default Person.
If all conditions are satisfied and the name and age are valid, return a new Person instance with the parsed name and age.
Place the implementation in the /app/ directory of your project. The provided tests will validate your implementation against various scenarios to ensure it behaves as expected.