Test database copy