We have a test suite now
I made some basic test suite, it only has 5 tests now. It’s based on Nikolay’s wordpress-tests: https://github.com/nb/wordpress-tests. I also tackled the issue with ad_code_args. For some reason my comment is awaiting moderation, so I write a post instead.