Add test to remove the delimiter
Change state to unsignaled when process() ends
Add comments