tests: improved structure of tests and benchmarks