Structure test for pyramid-based angularjs app