testing spend listener in API