add option spec_files_suffix
fix notice of undefined array index when expecting to throw