Added test for anonymous serialization using ent.ser.
Removed extension method and instead using async await.