Add character device testcase