Add test for Validator\CoreClass\Method

resolve #20