Method getAllViewsCursor() is not returning proper results with test data. As the Account and Activity has many-to-many relationship now, the below query with null clause is not giving actual result

select * FROM Activity as e INNER JOIN e.account as a WHERE e.numTimes < 15 and (e.account = null or a.isActive = false)

the act5 should have null value for account while act7 should have acc1. While it is reversed and test is failing.
You may try adding below line in TestJoins.java's testOuterJoinWithNullClause() method in the end of the method.