added test for bug #1448 and hopefully fixes the bug #2898

this should also obsolete PR #672