add a test for whether typed arrays can be passed in