added modules tests
view / template compilation fixes
Added Modules.
Merge branch 'modules-example-tests'