Add tests for character() and string()