Added unit test for issue #30

Added a unit test for issue #30 that currently fails when start using
migrated indexes.