Render tests cmakelist before custom template

Otherwise you cannot overwrite custom CMakeLists.txt