updated to use new futures, changing default to assume testing environment