New logging. Use regular class for unit tests. Added many tests for
groups. Added a speed test.