Test code to work with sample broker