make spec not dependent on network conditions
Merge pull request #75 from jjb/fixing-issue-66

make spec not dependent on network conditions