Add tests for nested conversion (ref gh-2).