Adding tests for Github issue #92