changes to testing and fixed skew heap