added test install/upgrade database feature