fix broken unittests in distrib
tag as 0.3
cleaned up a lot of junk. this might be usable
tagged for composer test