Fix for issue #392
Merge pull request #819 from avaris/test-warning

Fixes issue #392