Debug unit test