adding some testdriver for macros and libs