Please make a database test class to inherit from similar to this: https://github.com/phpbb-extensions/boardrules/blob/master/tests/entity/rule_entity_base.php

Then only one location to change instead of 10 when the constructor is changed.