[tests] Basic tests for design
[tests] Add basic tests for database