remove typed array specific code in tests now that Buffer works better with browserify