Bump version to 0.11.2 and add tests.