send and shape testing for test/shiftregister.js