Updated method of calling after build in test factories.
Updated call to render to remove deprecation warnings.
Merge pull request #2 from drusk/testfix

Working on fixing test cases