Fixed test.js controller with $scope injection.