Finish spec for assign_spec_files_to_node method