Add test for old bug