Fix a bug that gave 500 if checkpoint returned 404 + improve specs