fix sles platform mapping logic

also add a couple of sles tests