add test to find a bug