first both-way tests for dictdoc