The function signature and docs mention two parameters only (name, config). The assert message contains three (name, properties, options) instead.