test driver and Dir for bp