added first tests for semantic stage