fixes a few tests