Add tests
Add bi-directional reloationship for application to account & accout to tokens
Updates tests