Added tests for match args
Added linenums arg