Added unittests for Benchmark and Serialization APIs