Sseparated resources for main and tests. Updated the semantic test form to not contain syntax errors at all.