add kaptan to requirements.pip
use temp_file to create dir for testing configs.