Test directory test/ exists
Added test for unknown template operator
Added test for empty target file name
Added test for invalid target names