get pins from opts, not this
Remove unnecessary tests