Fixed test to work with older version of angular.