Adding example EXPECT script for testing automation.
Added better EXPECT timeout and failure cases.
Better use of expect_after.