public constructor for integration tests;