moves the init code to be reachable from tests
template for msfem test, cmake only
updates autofools test makefile