Add models and tests for Post and Category