testing various input patterns