Added tests for create_uri.

Added tests for create_uri.