Implemented channels for pointer types and non-pointer types. Implemented test3 for pointer type.