Made fields header in table beautifull.
Fixed current semantic and sintactic tests.
added test for correct type of values in pattern.
improved error reporting in patterns validation.