test create method