Adding unit test for bootstrap.
Added unit test case for bootstrap.