test custom capsule, mode