updated unittestexample with outside dependency