refactored client POST create test