Fix incorrect indentation.
Add more unit tests.