added a test set, but tests do not pass. Something wrong with text capture. #339