Add input[directory] test