fix test context