changed log role
added spec tests, added travis-ci