Add tests for AbstractBootstrapper
pep8 fixes