Bump version.

Add some tests to the previous change and make it work properly.