Test cases for js->fay func serialization.