Test for DatabaseRequirement added (fixes #631)