tested app controller and fixed other tests + cleaner declarations with $inject