Test widget source generator