add test to demonstate bug fixed with last commit