test in controlled environment