to_string() function fixed
draft of the dictionary checker unit test