Prio

this adds an input file test to #917 and supersedes it