Made various changes to tester, including adding a simple, but functional profiler.

Could not get perf4j to work.