Added tests for AbstractBroker. Had to switch away from 'callable' type hints, as phake has issues.