tests: Refactor macros so OVN databases can be initialized individually.