Rewrite codex spec to use gold master testing.