Refactors all tests to use dynamic backend loading.