Fixes tests, fn is no longer async

Broken master :panda_face: If anyone wants to jump in and merge this that'd be awesome. I might do it myself otherwise. /cc @rjz @janpaul123