Added parity, dataBit and stopBit getter for Linux.

Added some tests.