Add test.
Fix style.