test swap curve