added tests for bootstrapping