fixed: don't build known_answer_test with dune >= 2.3

uses removed features
changed: quell warnings about unused local typedefs
fixed: quell deprecation warnings when compiling with dune >= 2.3