updated modules for node 0.10.0. Added tests for home page. Refactored common test logic.