Later versions of chocolatey don’t implement custom sources like ruby or webpi. I needed web platform installer, so created win_webpicmd in extras repo. PR is https://github.com/ansible/ansible-modules-extras/pull/438.
I’m not really sure how to write test automation for windows modules, so haven’t. Any pointers or illustrations would be gladly received!