generalize endianess test
two bands case