Added test cases for outer joins.