Adding some unit tests.
't is an ugly way to get the post-as-context, but it works for now.