Updated add coin method to actually add coin to the DB.
Added Unit test for DBCoinConnectTest.