fix ec configuration
refactor rendering test mechanism for better test support