test for changes triggered by after_create callback

I added tests for the behavior described in issue #50.