test for failure passed to promise
use 'spec' reporter for tests