small fixes in a few tests