Added tests for DBOject class.
Added tests for DBToken class.