Add test case MBED_30 and MBED_31 to test CAN api