added unit test for validate_nosql_key()