tests: add basic platform management

Follow-up of #335 and  #334