Test of java serial library