Do a bootstrap test and use promises