Extend the RFID test coverage.

Fix some bugs and issues with the RFID reading logic.

Added some tests using pseudo serial ports that emulate the rfid readers for the FSM as well.