charm: fix tests