Test code for driving