query/display demo modified into general query/display test script for different languages