bump.
Added some proper tests.
Updated export for types.