made a few updates for testing this stuff
Updated the build script to make unit tests work a little better with magento
Added a few tests for new code