Added test to see if scopes worked through relations