Add tests for scopes function

1 job for master in 33 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #77879
test

00:00:33