java migration test