First pass at universal function for use with [<TestCase()>]

1. Add bid unit test using test case attribute
2. Refactored initMarket function