Added test to verify bug doesn't appear again