tests: Added test for bug #1456