added tests for the database security-object