Added unity test and var_dump macro for sw serial