char matrix tests