Added repo.needs_peer_review() with tests