refactor spec single pin spec
change argument name to match dsl
refactor spec