changed brokerage.buyable.*Exception
added some tests