Added a test
Checking that we have strings before calling methods on strings seems reasonable