added some tests for compiletime & runtime environments