This test verifies that the JS database.changeVersion() function works as expected.