Move more serialization tests into test_data

Reviewer: @andi-bigswitch 

All the simple serialization tests are now in the datafiles and can be shared with the other backends.