test and inputfile