As Radgirl said, you did the right thing.
One thing that may make life a bit easier for you - when I get my medical renewed, my DAME does the spirometry test as part of the examination. You should ask CASA and/or your DAME to see if they can do the same for you.
You should ask CASA directly to see under what conditions they'll extend the expiration of your medical.