Updated .gitignore. Heap bubbles up correctly.
made tests more robust
removed bubbleUp function
changed params