Improve heap tests

Moved binomial heap's tests to share the heap tests, they are not only run
when the particular operation is supported. Fixed a bug where union would
not track node count correctly.