finished sort by proximity test. fixed bug in popularity sort test.