Added new test class

Refactored class being tested in preparation for testing. Also replaced
hard coded value to load betfair commision value from config.