backup. testing/writing uart_device_release.
test cases for uart device open refined, using testdata struct.
the first test case for uart device release added. not sure what is the failure definition for this function.
clean some test codes.
Merge pull request #14 from matianfu/master

backup. uart device open tests refine. production code and tests for release added.