Add test records and named scopes for subject queries