DatabaseResource Test