SMW\HooksTests add unit test

+ Add testOnArticlePurge()
+ Add some @codeCoverageIgnoreEnd where tests deemed unnecessary

Change-Id: Ie7db33c976d0c189f698d8302bdb2c1f65a3d9b0