Add forgotten Boolean case to registry. Refactor the test.