improvements to test robustness
include a pip requirements file for test deps