Formatting, correct var
Added simple directory test