Fixed TestFacts
Improving TestViolations

Added test_to_dict