added percolate() unit tests