composite tests and fix distro

new base64 library broke the distribution and the demos.  Fixed that
Also added some composite import tests.