added test for deletemin and corrected a bug at insert test