added test for bugfix in commit 4ba3b7b3a22d8ce4269b824769a2e1105af692ad