fix bug: block cannot be override inner if-elif-else
add block test for conditional