JS->Fay function serialization.
Test cases for js->fay func serialization.