add test for last bug