created tests for person, company and user models
refactored registration