[tests] test if..else