moved insertion and update test to test() function
added get() method for heap_queue and test_get() function