cleaned up debug in unit tests