Callback on after_commit will not work with tests generally speaking