General fixes and test suite changes to get the test suite closer to passing

filter which is not implemented in Mondrian 4.0.  Converted the test
schema to a view.  Also fixed an issue with schema conversions and dialects
that was causing the test to fail.