boot test code