Trial to get more teachers to NSW regions