test: more systematic shift tests

To be submitted once gc agrees.

R=rsc, iant, remyoudompheng
CC=golang-dev
https://codereview.appspot.com/7861045