standardizes tests - uses arrays instead of setting query directly in Controller tests