Add functional tests

Closes #17
Appears so. It's a functional process. I'm mimicking the create_post() function done in the core for this.