Added some test for companyrepository