getcallback and toarray tested