just added some things to the test and some debugging messages