Add test4 and change the structure of database
New design of DB, and DB manipulation