Refactored all integration tests to inherit from base class to reduce dup code