seperated the string tests from the bob class
changed method names to indicate they return a boolean