test(core): add test for loading of validation rules