Added test bench for char_register

Includes a fix for char_register. Replaced signal assignment operator
with variable assignment.