adds bootstrap file and test for exception