refs #13: added tests
refs #13: got order by popular working