fix block_stmt, use snippet for test