First run the python script to download all the country image flags to a folder. For that get inside the python_scripts folder and run
python downloader.py
After you have downloaded the flags, you have to run
python generate.py
to create the folder questions to generate sets of randomly shuffled country images.
After this run node app.js on the root directory to start the test.