I am not sure I comprehend what you mean by add a test.  I am not very experienced wit Ruby.  I have never used it before creating this formula. @BrewTestBot