[TW, MR] created test data, tests for db operations, implemented db
operations
[TW, MR]added tes.java