minor fix in test selfjoin rewriting
minor adding test of content of the result of rule with self join rewrote
Merge remote-tracking branch 'upstream/master'