fixed expect tests