Added more debugging information for failing unittest