Updated many of the analysis predicates to make them fully relational (not yet all of them), extended current unittests of analysis