add test for bugfix