WIP: tests for the account JS