Test preparation for parsing semi-invalid statements