add a test for #578
remove a print statement