[test] add pre install and pre script