added Java Test classes