sets up bootstrapping for tests