add test cases for uartex factory, invalid args.
backup. refactoring uartio.
uart io read test refactored, cleaned.