Using real promises instead of fakes