Added test for file input for #50