Updating companies controller test.
Cleaning the code.