Use SF_DATABASE define to switch database for testing.