Trevor Bayliss has been impressed with how Surrey duo Rory Burns and Ben Foakes have taken to Test cricket after debuting in Sri Lanka.