We should add an end-to-end test of the expert mode, just to test that everything works together in a happy case. Expert mode already has a high test coverage in database integration tests for precise cases (duck-typed fields in SELECT, in WHERE, etc.).