Remove defaulting of out dir to in dir

Add test for making output filename lowercase