Database Tests written.