Added another test to joined grouped queries