Fix basestring usage in site_tests

Change-Id: I621120bb0a099e44077b8112e0ec547e82ee7ecd
Merge "Fix basestring usage in site_tests"