adding request serialization unit tests