adding unit test for querying task by tags