add tests for inner join
add some additional tests