driver for unit testing