Tests and small fixes for optional paramcomposites.