bugfixed: implement the benchmark test case