wire in support for compositebinarystores and unit test it