completed writing tests for interwiki query service