Fixes text setContent() test