TST: extend truth table test to arrays with various dtypes