Fixed controller test to remove rootScope