TESTS: updated test case for #399