fix no then block test