Refactored tests for the CensorHook class

Try to make more accurate tests.
The equivalent censored contents and number of letters are tested.
Merge pull request #64 from alquerci/censor_hook.refactor_tests

Refactored tests for the CensorHook class