Adds regression test for update bug

This PR adds a test to make sure there aren't any regressions.

Related to #37