adding rule unit testing to travis ci