Elgg/Elgg — pull request #7708 by Srokap (2014-12-20 13:23:12+00:00)
Title: Improves test coverage

- [ ] don't merge until it's done, will add more tests
- [ ] @ewinslow @brettp confirm that AMD changes are correct