Move SemanticErrorTest out of compiler specific package