add character unit test