Small improvement to Validator testcase

Signed-off-by: crynobone <crynobone@gmail.com>
Implement PSR-2 code standard.

Signed-off-by: crynobone <crynobone@gmail.com>