added test after bugreport of Sander Scholtus