Writing adapter test