extract logic from AppView to AppController class
group gl tests and add setup function
create one suite for all tests