add character test code