add test that order does not matter for inner joins