Fix custom comparator test.
Make field in Arguments class final.

Arguments now throws IllegalArgumentException in case of unknown arguments.