Verified as functional on testnet. (You need a new transaction to enter mempool after running bitcoin-cli setblockmaxsize x and before running getblocktemplate, otherwise GBT will just use the cached template.)
This patch was discussed briefly on IRC about 20 hours ago. http://bitcoinstats.com/irc/bitcoin-dev/logs/2015/11/29