created test database test file, database file and completed add method