Add test for dequeue(incomplete), fixed bugs in dequeue_remove_element_by_value