moved setup assignment to class var
added appcontroller tests