Add semicolons to pass jshint.
Add post manager tests.