stylus adapter and tests