Bugs fixed.
Added comment manager tests.