added test script for hex string