Added test classes for modules. Tests currently only the credits message. Refactored some code to make testing easier. Still doesn't test the plan