fix a bug in UT to avoid always use Prod url for testing

Signed-off-by: free-walker <wally.1981@yahoo.com>