add pyramid test; fix allEqual