added search query tests
added export test