Write and bugfix test driver for aodvstub