add a test script

Change-Id: If4fc46bf4469051f7546876a58ff5bacf6bc3167