Refactored account creation during testing