Added write to channel for digest transform test cases