fixed boolean tests, order of operations, exceedingly slow bigarray test
(np.empty is better than np.memmap for this)