added test for some simple benchmarking of the methods. some cosmetic changes.