Added tests for name_quote function.