fix nested tests