- added test to reproduce bug 1738.
- moved test for bug 1738 to better location.
- minor spelling fix.