Added test cases for can module and io module