Added log option
Added spec test for duplicates when -e given