changed the default table name to class name with package prefix.
updated test cases.