fixed a few small errors in tests