adds basic unit testing functionality