Best Practice for testing database?

Yes, I do see some other projects also take this approach. I will do that as well. Thanks!