changed createElement tests