Gravity: Adds a missing test for the sql_compound method