updated test to catch bug