change dbobject to linkeddbobject
added unit tests for ddl creation