input testing