Tests: Rewrite post_generator and user_generator classes to use inheritance.