fixed big in else if
additional test