tests and performance benchmarks