Fix validation library inclusion
Add first registration tests