test_abstract: adding a testcase for recent fix.