Glee- I agree that sobriety should come first but I have to think that studying for, taking and passing that test is an integral part of the healthy, happy, sober Glee. There is a balance to be struck and as long as the scales remain squarely weighted on the side of sobriety, you ARE keeping sobriety first. In my opinion, studying for that test added more weight to the sobriety side of the scale.
As always, you are doing beautifully.