flick() for android and some misc test fixes