Fixed logic in postAction() (handling of status, type, template corrected)
Added handling of parent products
Added testPostWithParent() test