Some more test coverage to junitintegrationtest.