test illegal input