Remove undefined function in application.js
Add integration tests for adding applications to accounts