Tests framework

Resolved #21 and refactored `TutorialTestResult` and `TestResult`