Misc fixes to InternalDataStore

Remove filter method

Rename `get(TaskId)` to `getTask(TaskId)` (for unit test only, Query Engine does not use it)

Modify unit test to comply with the above changes