added test for max call depth on creation