Test passing a file for argument
New tests and docs