Add spec for shift() and pad()

* Use keyword 'context'
* Use explicit values when appropriate
* Write better example descriptions