add main test java class