Added more debugging output on tests