test caps with parameters