Reproduces the bug dicussed at https://github.com/kovyrin/db-charmer/issues/30