Added test showing a fix for the #893 ticket