[TEST] Added an integration test for combining pagination with scopes

See: http://guides.rubyonrails.org/active_record_querying.html#scopes

Related: #16