Fix assertReadWord function using template.
Add test function: test_checkResultWhenFalseTrueFalse