private constructor,getter, setter supported in database

Database now ignores accessibility of record contstructor and attribute
getter/setter.
Database Test refractored for more transparency