add company model test and user validation