tryopen already tests get_num_entries; convert new test to that and remove duplicates. --HG-- branch : HEAD