Semantic Analyser: Added missing statement pointer
Semantic Analyser: Fixed tests.