adding and formatting tests in modules and units tests; still working on it