Adds model tests for post and category