integration test added from scala