fix bug where files could not be skipped
improved debug output, only if -DDEBUG is set
series of tests for InputInterface