Added unittest for Benchmark and Serialization APIs