Parser. Clear stack on end + tests for containers