add better integration tests and tests for reading from .properties files