Pass error to the callback in fixture