Make unit tests assertions more specific

For example, do not do this:

    self.assertTrue(len(string) > 0)

Instead, do this:

    self.assertGreater(len(string), 0)

Thanks to @elyezer for the suggestions.