added test + made it pass
travisplexer: pr-158-osx travis ci test