bugfix compact composer, adding additional tests