Adding a method to search for people by name and the test for the invalid argument