Add test support to framework scheme
Automatically init env