Refactors AbstractRuleTest to use a dummy object instead of mocking and adds test for __construct