Check that typed array prototype chain is correct