fix test, added more debugging log statements