added new test method: type createElement