Fix testlog fetching for test_ids.
Fix exam mode assignment for test_ids.
Fix Test lists to always return a list.