changed test to output some more debug info