testing and bootstrapping