added parsing tests
added serialport
fixed type errors that were crashing ambd