Added validation logic (kinda) and mostly finsihed the integration tests for Posts.