Fix AccountTest: update should use the account created in test step, and handle exception in afterAll()