Added quit command to encoder test program