Parsing query and entries
Added tests for Entry class