add exchange specification test
fix exchange specification class
Merge pull request #24 from prolic/exchangespec_fix

Exchangespec fix