tests: add regression test for bug #408

2 jobs for bugfix/408 in 5 minutes (queued for 2 seconds)