TST for compiler2
Relocated tests and started on compile_with_flat