Fix native adapter test