Code style.
Use a dummy configuration instead of the real thing.
Added some more tests.
Using Lombok's new @NonNull support for constructor parameters to
eliminate an explicit null check.