adding spec to cover GitHub issue #114