Fixes to make the tests compile

This commit disables a large number of tests that don't compile, fixes some others to use the new API.

There are some best guesses in the changes.

Search pattern is "LC Modularisation"