Add parameterized tests and benchmarks