Removing tests that no longer apply now that model rulesets have been removed. Fixing query in AnalysisRecord.cpp.

[#53967295]
[#52019105]
Progress on tests.

[#53967295]
[#52019105]