init test_correct.py and start to refactor correct.py
Refactored correct.py and added test_correct to all_tests