output directory defaults to pwd and updated tests accordingly