Testing post creation with reusable component