removed getFactory function to prevent potential conflicts and simplify code
An attempt at writing a test suite for Capsule\Validation