fixed tests running in ncrunch context