extend test to create the log dir if it doesnt exist