updated account-test.js