Abstracted some of the common integration testing bits into a base class.