Make helper class final.
Added some tests.