Fix checking for existence of test entity by testId
Correctly retrieve test and tasks for results summary on empty db
Remove commented out cruft
Retireve task when requested directly with empty db
Don't use test task ids, retrieve and return remote task ids directly (at least for now)
Remove TestTaskId, add taskIdCollection to Test
Correctly rebuild local DB from core application when empty
Happened weeks ago, looks good, not sure why