simplify model scopes to check outputted SQL

this is cleaner than having multiple instance variables defined in a before block