test script for getting top entities from a wiki