Added account settings to specs.
More gracefully handle failure to initialize account during testing.