Modified the local test for benchmarking