Add JavaSerial and some basic tests