added test function for bloomberg