added savePattern for mk2 devices and checked in "testtest" to inspect internal state