Refactored out Account related methods into a new base class.

These will be useful for other tests too, and I'm planning to use some.
1 file changed