Refactor run_all_spec