Fix #4: 500 error on /modules/api/glaccounttypes
tests: restore test for Fix #4
Merge pull request #5 from cambell-prince/bug/4

Fix #4: 500 error on /modules/api/glaccounttypes