Adding a DAL unit test mode. In the event you are using the DAL with PHPUnit integration test the recursion level gets too deep for a stack trace. When unit test mode is on stack traces are suppressed.