move scope so all test functions can see them
add test for client-side claim going out of scope