CreateNewAccount test, style fixes, and changes to other tests.