scala integration tests