Task #0033: Adding test for the available sites query function.