fixed some test bugs and noted some more failing tests