minor fixes to speed tests;
added benchmarks