added some testcases
update database schema