add spec for dup rejection

also resolve minor conflict
reject duplicate prs
fix stupid typo, missing end