Added one test function for testing inputs of strings that are invalid such as sentences. Also added a few more comments and edited based on PEP8 style
Merge remote-tracking branch 'origin/master'