added options and env to ctest command