Add pom dependencies and abstract base class for tests