Add test code for the issue #23

I added some test code to verify modifications of 5e654bff618e76ffb005c54985aab98f1ddec75b.
All test cases are passed expectedly, and I manually confirmed to be able to update subscription w/ add-ons too.

Thanks.