Adding all sort of tests for model and resource parser + new exceptions