added some quick debug statements in tests