add and update specs for duplicates_controller and search_files_controller