Changed assert to compare object returned from cd_stock.get_cd_data from the object created
Changed returned data to cd object