More tests around context locals