add emacstts test code