added native driver test code