OS-level test automation