Beds with pull-out bed