Fixed the worker tests and also added the ability pick a serializer.