testing length of options