Renamed 'terminal' mode to 'ci', return failed exit code if any specs fail in ci mode